package com.py.credit.service;

import com.py.credit.entity.Statistics;
import com.py.credit.entity.StatisticsCount;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface StatisticsService {

    List<Statistics> selectCjInfo(String type, String startTime, String endTime);

    List<Statistics> selectJlInfo(String type, String startTime, String endTime);

    List<Statistics> selectSixMorthCjInfo(String type, String startTime, String endTime);

    List<Statistics> selectSixMorthJlInfo(String type, String startTime, String endTime);

    List<Statistics> selectDeptYgInfo(String type, String startTime, String endTime);

    List<Statistics> selectDeptSjInfo(String type, String startTime, String endTime,List<Statistics> deptYg);

    List<Statistics> selectZrrCjYC(String type, String startTime, String endTime);

    int selectFrCjZs(String type, String startTime, String endTime);

    List<Statistics> selectFrCjYC(String type, String startTime, String endTime);

    int selectZrrCjZs(String type, String startTime, String endTime);

    void excelExport(HttpServletResponse response, String startTime, String endTime) throws IOException;

    List<StatisticsCount> selectJcgzDistribution(String type, String jclb, String startTime, String endTime);

    List<StatisticsCount> selectJcCount(String type, String jclb, String startTime, String endTime);
}
